<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> -->
<meta name="renderer" content="webkit"/>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />

<title>业绩明细导出</title>
<link href="${rc.contextPath}/common/css/common/common.css"rel="stylesheet" type="text/css" />
<script type="text/javascript" src="${rc.contextPath}/common/js/common.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/thickbox/jquery.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/thickbox/thickbox.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/main.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/config.min.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/util.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/market/service/customer_deal_detailform.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/config.js"></script>
<link rel="stylesheet" href="${rc.contextPath}/common/js/zTree/css/zTreeStyle/zTreeStyle.css" type="text/css"/>
<script type="text/javascript" src="${rc.contextPath}/common/js/zTree/js/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/zTree/js/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="${rc.contextPath}/common/js/zTree/js/jquery.ztree.exedit-3.5.js"></script>
<script language="javascript" type="text/javascript" src="${rc.contextPath}/common/js/calendar/WdatePicker.js"></script>

<style type="text/css">
.deploy{border:solid 1px gray; width:700px; height:350px;display:none; z-index:101;position:absolute; background-color:#FFFFFF;}
.deploy .title{width:100%;height:20px;line-height:50px; border-top:solid 1px red;background-color:#b60613;top:0px;}
#greyBackGround{background:#000000;width:100%; display:none; z-index:100; top:0px; left:0px; position:absolute;}

.deptTree{border:solid 1px gray; width:700px; height:500px;display:none; z-index:101;position:absolute; background-color:#FFFFFF;}
.deptTree .title{width:100%;height:20px;line-height:50px; border-top:solid 1px red;background-color:#b60613;top:0px;}
#deptTreeBackGround{background:#000000;width:100%; display:none; z-index:100; top:0px; left:0px; position:absolute;}

</style>
</head>
<body>

<center><div class="div6" id="waitDiv">加载中...</div></center>
<div id="bg" class="bg" style="display:none;"></div>
<div class="main">
  <!--可拖动 上部分-->
  <div class="position">
    <div class="p_left">当前位置：业务管理 &gt; 业绩明细导出</div>
    <div class="p_right">
      <dl><dt>姓名：</dt><dd>$!{currentUser.ename}</dd></dl>
      <dl><dt>登录时间：</dt><dd><span id="nowDate"></span></dd></dl>
    </div>
  </div>
  <div class="topBox">
    <div class="mesCheck">
      <div class="title1"><strong>业绩明细导出 </strong></div>
      <div class="box2C">
        <div class="tableForm">
        <form id="form" action="${rc.contextPath}/serviceManage/expDealDetailformdo" method="post">
		  <table border="0" align="center" cellpadding="0" cellspacing="0" class="tab1">
            <tr>
              <th width="100">时间段：</th>
              <td>
              	<input type="text" id="startTime" name="startTime" size="15" class="input" onfocus="setStartTime()" onclick="this.value=''" readonly="readonly"/>
                <img onclick="setStartTimeImg()" src="${rc.contextPath}/common/js/calendar/skin/datePicker.gif" width="16" height="22"/>
                到
                <input type="text" id="endTime" name="endTime" size="15" class="input" onfocus="setEndTime()" onclick="this.value=''" readonly="readonly"/>
              	<img onclick="setEndTimeImg()" src="${rc.contextPath}/common/js/calendar/skin/datePicker.gif" width="16" height="22"/>
              	<span style="color: red">*</span>
              </td>
              
              <th width="100">公司名称：</th>
              <td width="300"><select id="companyName" name="companyName" class="input" > 
              					 	<option value="">全选</option>
						  			#foreach($party in $partylist)
						  			<option value="$party.id">$party.name</option>
						  			#end
              				  </select>
              </td>
            </tr>
            
             <tr>
              <th width="100">会员号：</th>
              <td width="300"><input type="text" id="cusId" name="cusId" class="input" maxlength="50"/>
              </td>
              
              <th width="100">销售人员：</th>
              <td width="300"><input type="text" id="ename" name="ename" class="input" maxlength="50"/>
              </td>
            </tr>

            <tr>
            <th ></th>
              <td>
                  <span class="btnOper2 btn_inline" style="margin-left: 100px;"><a href="#" class="btn2" onclick="toExport();"><span>导出</span></a>&nbsp;&nbsp;&nbsp;
                  <a href="#" class="btn2" onclick="doReset()" ><span>清空</span></a>&nbsp;&nbsp;&nbsp;</span>             
              </td>
              <th></th>
              <td>
              </td>
            </tr>            
          </table>
        </form>
         <!-- 隐藏控件 -->
         <input id="rootPath" type="text" value="${rc.contextPath}" style="display: none" />
         <input id="customerType" type="text" value="${customerType}" style="display: none"/>
         <input id="isResponsible" type="text" value="${currentUser.isResponsible}" style="display: none"/>
         <input id="userId" type="text" value="${currentUser.empno}" style="display: none"/>
         <input id="deptId" type="text" value="" style="display: none"/>
         <input id="currentdid" type="text" value="${currentUser.id}" style="display: none"/>
         <input id="customState" type="text" value="" style="display: none"/>
         #if($shiro.hasPermission("客户调配"))
         <input id="isHasCustomAlot" type="text" value="0" style="display: none"/>
         #end
        </div>
        <div  class="overflow" style="overflow-x:auto ; width:100%;">
        <!-- 数据列表 -->
        <table  class="tab2" id="dataList">
         
        </table>
		 
       </div>
        
       
			
        
      </div>
    </div>
  </div>
  	<form id="redirectForm" action="${rc.contextPath}/ruleSet/customDeploy/customDeployPage" style="display: none;">
		<input name="pageNow" type="hidden" value="$!pageView.pageNow"></input>
	</form>
</div>
</body>
</html>
